﻿@{
    Layout = null;
}
@inherits CMSWebViewPage<object>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>CMS信息管理系统</title>
    <link href="~/Content/css/cms.common.css" rel="stylesheet" />
    <link href="~/Content/easyui/themes/metro-blue/easyui.css" rel="stylesheet" />
    <link href="~/Content/easyui/themes/icon.css" rel="stylesheet" />
    <link href="~/Content/css/easyui.common.css" rel="stylesheet" />
    <script src="~/Content/easyui/jquery.min.js"></script>
    <script src="~/Content/js/tjzheng.js"></script>
    <script src="~/Content/js/cms.common.js"></script>
    <script src="~/Content/easyui/jquery.easyui.min.js"></script>
    <script src="~/Content/js/easyui.common.js"></script>
    <script src="~/Content/js/site.js"></script>
    @RenderSection("Head", required: false)
</head>
<body class="easyui-layout">
    <div data-options="region:'north',border:true" style="height: 30px; overflow: hidden; background: url(/Content/images/others/bg.gif) repeat-x left bottom;">
        <div style="float: left; line-height: 30px; font-size: 14px; font-weight: bold; padding-left: 10px;">
            CMS信息管理系统
        </div>
        <div style="float: right; line-height: 30px; padding-right: 20px; font-weight: bold;">
            @string.Format("欢迎您，{0}[{1}]", CurrentUser.RealName, CurrentUser.UserName)
            <a href="/home/loginout">退出登录</a>
        </div>
    </div>
    <div id="appList" data-options="region:'west',border:true,width:160,iconCls:'icon-start'" title="信息管理系统">
        <div class="easyui-accordion" data-options="border:false,fit:true">
            @if (IsCheckUserPower)
            {
                @Html.Action("UserColumnPowerInfoList", "Home")
            }
            else
            { 
                @Html.Action("ColumnPowerInfoList", "Home")
            }
        </div>
    </div>
    <div data-options="region:'center'">
        <div class="easyui-tabs" data-options="fit:true,border:false,tools:'#tab-tools'">
            <div data-options="iconCls:'icon-house'">
                @RenderBody()
            </div>
        </div>
        <div id="tab_menus" class="easyui-menu" style="width: 150px;">
            <div data-options="iconCls:'icon-reload'" onclick="RefreshTab();">重新加载</div>
            <div class="menu-sep"></div>
            <div data-options="iconCls:'icon-wrong'" onclick="CloseAllTabs();">关闭所有选项卡</div>
            <div class="menu-sep"></div>
            <div data-options="iconCls:'icon-wrong'" onclick="CloseRestTabs();">除此之外全部关闭</div>
            <div class="menu-sep"></div>
            <div data-options="iconCls:'icon-wrong'" onclick="CloseCurrent();">关闭当前选项卡</div>
        </div>
    </div>
    @RenderSection("Bottom", required: false)
</body>
</html>
